Homework 2¶
Group Members: Lanqin Yang, Bin Shang
In [2]:
%%capture
#INCLUDING SCIENTIFIC AND NUMERICAL COMPUTING LIBRARIES
#Run this code to make sure that you have all the libraries at one go.
%pylab inline
import os
import pandas as pd
from IPython.display import Image
from IPython.display import YouTubeVideo
Part 1 Cline¶
1. Below are the screenshots of Mac and Win version respectively after Cline is installed with the options window to set the LLM visible.¶
In [3]:
Image("ClineInstallMac.jpg", width = 900)
Out[3]:
In [5]:
Image("ClineInstallWin.png", width = 900)
Out[5]:
2. Below are the screenshots of Mac and Win version respectively when DeepSeek API key was set and working properly.¶
In [7]:
Image("ClineDeepSeekMac.jpg", width = 400)
Out[7]:
In [6]:
Image("ClineDeepSeekWin.png", width = 900)
Out[6]:
3. Below are the screenshots of Jupyter extension installation with Mac and Win version respectively.¶
In [13]:
Image("JupyterExtensionMac.jpg", width = 900)
Out[13]:
In [12]:
Image("JupyterExtensionWin.png", width = 900)
Out[12]:
4. Below are the screen recordings of Mac and Win version when a sample job is completed in VS Code by Cline extension.¶
In [8]:
video_id = 'sxILMAK6WDs'
YouTubeVideo(video_id, width=800, height=450)
Out[8]:
In [9]:
video_id = '4GukE_25GVw'
YouTubeVideo(video_id, width=800, height=450)
Out[9]:
5. This is the screenshot of notebook after running in VS Code.¶
In [10]:
Image("NotebookVSCode.jpg", width = 900)
Out[10]:
6. The total cost for the above job is $0.0009¶
7. The file format is a Jupyter notebook with ".ipynb" extension and can be open properly in both Jupyter Lab and VS Code with extension.¶
In [7]:
Image("JupyterLab.jpg", width = 600)
Out[7]:
In [11]:
Image("JupyterNotebook.png", width = 900)
Out[11]:
8. Cline is easy to use and will help a lot in creating Jupyter notebooks and writing in proper structure. Using Cline in VS Code should be more convenient than using in Jupyter since terminal can be easily accessed at the same window.¶
Part 2 GitHub Copilot¶
In [8]:
Image("Copilot.jpg", width = 900)
Out[8]:
Part 3 Bolt¶
In [9]:
Image("BoltCode.jpg", width = 900)
Out[9]:
In [10]:
Image("BoltPreview.jpg", width = 900)
Out[10]: